﻿<ribbon:RibbonWindow
    x:Class="SampleHelper.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
    Title="MainWindow"
    x:Name="RibbonWindow"
    Width="1106"
    Height="477">

    <Grid
        x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition
                Height="Auto" />
            <RowDefinition
                Height="*" />
        </Grid.RowDefinitions>

        <ribbon:Ribbon
            x:Name="Ribbon">
            <ribbon:Ribbon.ApplicationMenu>
                <ribbon:RibbonApplicationMenu
                    SmallImageSource="Images\SmallIcon.png">
                    <ribbon:RibbonApplicationMenuItem
                        Header="Hello _Ribbon"
                        x:Name="MenuItem1"
                        ImageSource="Images\LargeIcon.png" />
                </ribbon:RibbonApplicationMenu>
            </ribbon:Ribbon.ApplicationMenu>
            <ribbon:RibbonTab Header="Lokale Demos">
                <ribbon:RibbonGroup
                    Header="Samples">
                
                    <ribbon:RibbonButton
                        x:Name="_scanAllSamples"
                        LargeImageSource="Images\LargeIcon.png"
                        Label="Scan all Samples"
                        Click="_scanAllSamples_Click" />

                    <ribbon:RibbonButton
                        x:Name="_createProjectZipFiles"
                        LargeImageSource="Images\LargeIcon.png"
                        Label="Create Project Zip Files"
                        Click="_createProjectZipFiles_Click" />
                </ribbon:RibbonGroup>

                <ribbon:RibbonGroup
                    Header="Hilfe">

                    <ribbon:RibbonButton
                        x:Name="_createTemplateInfoFile"
                        LargeImageSource="Images\LargeIcon.png"
                        Label="Info.xml Template"
                        Click="_createTemplateInfoFile_Click" />

                </ribbon:RibbonGroup>

                <ribbon:RibbonGroup
                    Header="HTML">

                    <ribbon:RibbonButton
                        x:Name="_createDemoHtmlPage"
                        LargeImageSource="Images\LargeIcon.png"
                        Label="Create Demo HTML"
                        Click="_createDemoHtmlPage_Click"/>

                </ribbon:RibbonGroup>

            </ribbon:RibbonTab>
            <ribbon:RibbonTab Header="Webcasts">
            
                <ribbon:RibbonGroup>
                    <ribbon:RibbonButton
                        x:Name="_readWebcastFile"
                        LargeImageSource="Images\LargeIcon.png"
                        Label="Read Webcast File"
                        Click="_readWebcastFile_Click" />
                </ribbon:RibbonGroup>
                
            </ribbon:RibbonTab>
            <ribbon:RibbonTab
                x:Name="HomeTab"
                Header="Pivot Tools">
                <ribbon:RibbonGroup>
                    
                    <ribbon:RibbonButton
                        x:Name="_createDeepZoomImages"
                        SmallImageSource="Images\LargeIcon.png"
                        Label="Create Deep Zoom Images" 
                        Click="_createDeepZoomImages_Click"/>

                    <ribbon:RibbonButton
                        x:Name="_createPivotIndex"
                        SmallImageSource="Images\LargeIcon.png"
                        Label="Create Pivot Index"
                        Click="_createPivotIndex_Click" />

                    <ribbon:RibbonButton
                        x:Name="_createPivotWithoutLocalFilesIndex"
                        SmallImageSource="Images\LargeIcon.png"
                        Label="Create Pivot Index without Local Files"/>

                    <ribbon:RibbonButton
                        x:Name="_pivotPreview"
                        LargeImageSource="Images\LargeIcon.png"
                        Label="Preview"
                        Click="_pivotPreview_Click"/>

                </ribbon:RibbonGroup>
            </ribbon:RibbonTab>
            
            <ribbon:RibbonTab
                Header="Einstellungen">
                
            </ribbon:RibbonTab>
        </ribbon:Ribbon>

    </Grid>
</ribbon:RibbonWindow>
